package cn.iocoder.yudao.module.enterprise.dal.mysql.boundary;

import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.boundary.BoundaryDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 组织边界 Mapper
 *
 * @author StevenShen
 */
@Mapper
public interface BoundaryMapper extends BaseMapperX<BoundaryDO> {

    default BoundaryDO selectByPlanId(Long planId) {
        return selectOne(BoundaryDO::getPlanId, planId);
    }

}
